const localStorage = window.localStorage
export const setUser = usermsg => localStorage.setItem('usermsg', JSON.stringify(usermsg))
export const getUser = () => JSON.parse(localStorage.getItem('usermsg'))
export const removeUser = () => localStorage.removeItem('usermsg')